using System;
using System.Collections.Generic;
using System.Text;

namespace MVCFramework.Presenter.Document
{
    interface  IDocument
    {
        void New();
        void Save();
        void SaveAs(string Name);
        IDocument Open(string Name);
        bool IsDirty { get; set;}
        bool IsNew { get; set;}
    }

    interface IDocumentFactory 
    {
        IDocument  GetNewDocument();
        //.....
    }

}
